package com.qf.service;


import com.github.pagehelper.PageInfo;
import com.qf.pojo.Order;
import com.qf.vo.OrderItem;

import java.util.List;

public interface OrderService {
    List<Order> findAll();

    Order findOne(int id);

    Order addOrder(Order order);

    Order updateOrder(Order order);

    Boolean deleteOrder(int id);

    PageInfo<OrderItem> findAlls(int uid, int p, int size);

    PageInfo<OrderItem> findAlls2(int p, int i);
}
